<template>
  <view class="box">
    <image :src="data.holeLogo" class="img"></image>
    <view class="desc">
      <view class="title">已为您智能匹配</view>
      <view class="item">最优下款产品点击立即申请拿钱</view>
      <view class="item">超级Vip享受一对一客服服务</view>
    </view>
    <u-button @click="handleToH5" ripple class="btn" type="primary">立即拿钱</u-button>
  </view>
</template>

<script>
import { by_sx } from "@/api";

export default {
  name: "system",
  data(){
    return{
      data:{}
    }
  },
  onLoad(){
    by_sx({
      type:3
    }).then(e=>{
      console.log(e.data.data[0])
      this.data = e.data.data[0]
    })
  },
  methods:{
    handleToH5(){
      uni.redirectTo({
        url:'pages/user/H5page?url='+this.data.linkAddress
      })
    }
  }
}
</script>

<style scoped lang="scss">
.box{
  padding-top: 100rpx;
  .img{
    display: block;
    margin: 0 auto;
    width: 200rpx;
    height: 200rpx;
  }
  .desc{
    text-align: center;
    color: #999;
    margin-top: 50rpx;
  }
  .title{
    margin-bottom: 20rpx;
  }
  .btn{
    position: absolute;
    bottom: 200rpx;
    width: 500rpx;
    left: 50%;
    transform: translateX(-50%);
  }
}
</style>